	format	MS COFF
	extrn	___bb_blitz_blitz
	extrn	___bb_cal3d_cal3d
	extrn	___bb_minib3d_minib3d
	extrn	_bbArrayNew1D
	extrn	_bbArraySlice
	extrn	_bbEmptyArray
	extrn	_bbEmptyString
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectDtor
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbOnDebugEnterScope
	extrn	_bbOnDebugEnterStm
	extrn	_bbOnDebugLeaveScope
	extrn	_bbStringClass
	extrn	_bbStringConcat
	extrn	_bbStringFromInt
	extrn	_brl_blitz_ArrayBoundsError
	extrn	_brl_blitz_DebugLog
	extrn	_brl_blitz_NullObjectError
	extrn	_brl_filesystem_StripDir
	extrn	_brl_filesystem_StripExt
	extrn	_brl_linkedlist_ClearList
	extrn	_brl_linkedlist_TList
	extrn	_c3d_cal3d_CalCoreModel
	extrn	_sidesign_minib3d_FreeBrush
	extrn	_sidesign_minib3d_FreeEntity
	extrn	_sidesign_minib3d_FreeTexture
	extrn	_sidesign_minib3d_LoadTexture
	extrn	_sidesign_minib3d_PaintEntity
	extrn	_sidesign_minib3d_TBrush
	extrn	_sidesign_minib3d_TMesh
	public	___bb_calb3d_calb3d
	public	__c3d_calb3d_CB3DAnimation_New
	public	__c3d_calb3d_CB3DMAnimation_New
	public	__c3d_calb3d_CB3DMaterial_AddMap
	public	__c3d_calb3d_CB3DMaterial_New
	public	__c3d_calb3d_CB3DMesh_Build
	public	__c3d_calb3d_CB3DMesh_New
	public	__c3d_calb3d_CB3DMesh_PaintMaterial
	public	__c3d_calb3d_CB3DMesh_Update
	public	__c3d_calb3d_CB3DModel_AddAnim
	public	__c3d_calb3d_CB3DModel_AddMaterial
	public	__c3d_calb3d_CB3DModel_AddMesh
	public	__c3d_calb3d_CB3DModel_AddMorphAnim
	public	__c3d_calb3d_CB3DModel_Animate
	public	__c3d_calb3d_CB3DModel_AnimateMorph
	public	__c3d_calb3d_CB3DModel_Build
	public	__c3d_calb3d_CB3DModel_Destroy
	public	__c3d_calb3d_CB3DModel_GetMaterial
	public	__c3d_calb3d_CB3DModel_New
	public	__c3d_calb3d_CB3DModel_SetSkeleton
	public	__c3d_calb3d_CB3DModel_StopAnimation
	public	__c3d_calb3d_CB3DModel_StopMorphAnimation
	public	__c3d_calb3d_CB3DModel_Update
	public	__c3d_calb3d_CB3DTexture_New
	public	_c3d_calb3d_CB3DAnimation
	public	_c3d_calb3d_CB3DMAnimation
	public	_c3d_calb3d_CB3DMaterial
	public	_c3d_calb3d_CB3DMesh
	public	_c3d_calb3d_CB3DModel
	public	_c3d_calb3d_CB3DTexture
	section	"code" code
___bb_calb3d_calb3d:
	push	ebp
	mov	ebp,esp
	push	ebx
	cmp	dword [_268],0
	je	_269
	mov	eax,0
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_269:
	mov	dword [_268],1
	push	ebp
	push	_266
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	___bb_blitz_blitz
	call	___bb_cal3d_cal3d
	call	___bb_minib3d_minib3d
	push	_c3d_calb3d_CB3DModel
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_calb3d_CB3DMesh
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_calb3d_CB3DMaterial
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_calb3d_CB3DTexture
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_calb3d_CB3DAnimation
	call	_bbObjectRegisterType
	add	esp,4
	push	_c3d_calb3d_CB3DMAnimation
	call	_bbObjectRegisterType
	add	esp,4
	mov	ebx,0
	jmp	_171
_171:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_295
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_c3d_calb3d_CB3DModel
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	byte [eax+44],0
	mov	eax,dword [ebp-4]
	mov	byte [eax+45],0
	mov	eax,dword [ebp-4]
	mov	byte [eax+46],0
	mov	eax,dword [ebp-4]
	mov	byte [eax+47],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],_bbEmptyString
	mov	eax,dword [ebp-4]
	mov	dword [eax+52],_bbEmptyString
	push	_270
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_273
	call	_brl_blitz_NullObjectError
_273:
	push	_bbNullObject
	call	dword [_sidesign_minib3d_TMesh+400]
	add	esp,4
	mov	dword [ebx+20],eax
	push	_275
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_277
	call	_brl_blitz_NullObjectError
_277:
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+24],eax
	push	_279
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_281
	call	_brl_blitz_NullObjectError
_281:
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+32],eax
	push	_283
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_285
	call	_brl_blitz_NullObjectError
_285:
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+36],eax
	push	_287
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_289
	call	_brl_blitz_NullObjectError
_289:
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+28],eax
	push	_291
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_293
	call	_brl_blitz_NullObjectError
_293:
	push	_c3d_cal3d_CalCoreModel
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+12],eax
	mov	ebx,0
	jmp	_174
_174:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_SetSkeleton:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_308
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_297
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_299
	call	_brl_blitz_NullObjectError
_299:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+8],eax
	push	_301
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_303
	call	_brl_blitz_NullObjectError
_303:
	mov	esi,dword [ebx+12]
	cmp	esi,_bbNullObject
	jne	_305
	call	_brl_blitz_NullObjectError
_305:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_307
	call	_brl_blitz_NullObjectError
_307:
	push	dword [ebx+8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+220]
	add	esp,8
	mov	ebx,0
	jmp	_178
_178:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_Animate:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_317
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_310
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_312
	call	_brl_blitz_NullObjectError
_312:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_314
	call	_brl_blitz_NullObjectError
_314:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_316
	call	_brl_blitz_NullObjectError
_316:
	push	0
	push	1065353216
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,16
	mov	ebx,0
	jmp	_182
_182:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_StopAnimation:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_325
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_318
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_320
	call	_brl_blitz_NullObjectError
_320:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_322
	call	_brl_blitz_NullObjectError
_322:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_324
	call	_brl_blitz_NullObjectError
_324:
	push	0
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,12
	mov	ebx,0
	jmp	_186
_186:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_StopMorphAnimation:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_333
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_326
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_328
	call	_brl_blitz_NullObjectError
_328:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_330
	call	_brl_blitz_NullObjectError
_330:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_332
	call	_brl_blitz_NullObjectError
_332:
	push	0
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,12
	mov	ebx,0
	jmp	_190
_190:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_AnimateMorph:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_341
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_334
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_336
	call	_brl_blitz_NullObjectError
_336:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_338
	call	_brl_blitz_NullObjectError
_338:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_340
	call	_brl_blitz_NullObjectError
_340:
	push	0
	push	1065353216
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,16
	mov	ebx,0
	jmp	_194
_194:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_AddAnim:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	push	ebp
	push	_368
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_342
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-8],_bbNullObject
	je	_343
	push	_344
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_c3d_calb3d_CB3DAnimation
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	push	_346
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_348
	call	_brl_blitz_NullObjectError
_348:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_351
	call	_brl_blitz_NullObjectError
_351:
	mov	esi,dword [esi+12]
	cmp	esi,_bbNullObject
	jne	_353
	call	_brl_blitz_NullObjectError
_353:
	push	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+60]
	add	esp,8
	mov	dword [ebx+20],eax
	push	_354
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_356
	call	_brl_blitz_NullObjectError
_356:
	push	dword [ebx+20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_5
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_357
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_359
	call	_brl_blitz_NullObjectError
_359:
	mov	eax,dword [ebp-4]
	mov	dword [ebx+28],eax
	push	_361
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_363
	call	_brl_blitz_NullObjectError
_363:
	mov	ebx,dword [ebx+32]
	cmp	ebx,_bbNullObject
	jne	_365
	call	_brl_blitz_NullObjectError
_365:
	push	dword [ebp-12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	push	_366
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	jmp	_198
_343:
	push	_367
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	jmp	_198
_198:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_AddMorphAnim:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	push	ebp
	push	_398
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_372
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-8],_bbNullObject
	je	_373
	push	_374
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_c3d_calb3d_CB3DMAnimation
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	push	_376
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_378
	call	_brl_blitz_NullObjectError
_378:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_381
	call	_brl_blitz_NullObjectError
_381:
	mov	esi,dword [esi+12]
	cmp	esi,_bbNullObject
	jne	_383
	call	_brl_blitz_NullObjectError
_383:
	push	dword [ebp-8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+100]
	add	esp,8
	mov	dword [ebx+20],eax
	push	_384
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_386
	call	_brl_blitz_NullObjectError
_386:
	push	dword [ebx+20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_6
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_387
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_389
	call	_brl_blitz_NullObjectError
_389:
	mov	eax,dword [ebp-4]
	mov	dword [ebx+28],eax
	push	_391
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_393
	call	_brl_blitz_NullObjectError
_393:
	mov	ebx,dword [ebx+36]
	cmp	ebx,_bbNullObject
	jne	_395
	call	_brl_blitz_NullObjectError
_395:
	push	dword [ebp-12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	push	_396
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	jmp	_202
_373:
	push	_397
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	jmp	_202
_202:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_AddMaterial:
	push	ebp
	mov	ebp,esp
	sub	esp,44
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],_bbNullObject
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	dword [ebp-36],_bbNullObject
	mov	dword [ebp-40],_bbEmptyString
	mov	dword [ebp-44],_bbEmptyString
	mov	eax,ebp
	push	eax
	push	_491
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_400
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	push	_402
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_405
	call	_brl_blitz_NullObjectError
_405:
	mov	edi,dword [ebx+28]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_408
	call	_brl_blitz_NullObjectError
_408:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	esi,eax
	jmp	_7
_9:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_413
	call	_brl_blitz_NullObjectError
_413:
	push	_c3d_calb3d_CB3DMaterial
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-24],eax
	cmp	dword [ebp-24],_bbNullObject
	je	_7
	push	_414
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_416
	call	_brl_blitz_NullObjectError
_416:
	mov	eax,dword [ebp-12]
	cmp	dword [ebx+24],eax
	jne	_417
	push	_418
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-24]
	mov	dword [ebp-20],eax
	push	_419
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],1
	push	_421
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_8
_417:
_7:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_411
	call	_brl_blitz_NullObjectError
_411:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_9
_8:
	push	_422
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],_bbNullObject
	jne	_423
	push	_424
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_c3d_calb3d_CB3DMaterial
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-20],eax
	push	_425
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_427
	call	_brl_blitz_NullObjectError
_427:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+12],eax
	push	_429
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_431
	call	_brl_blitz_NullObjectError
_431:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+24],eax
	push	_433
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_435
	call	_brl_blitz_NullObjectError
_435:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_437
	call	_brl_blitz_NullObjectError
_437:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+120]
	add	esp,8
_423:
	push	_438
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_10
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_439
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_441
	call	_brl_blitz_NullObjectError
_441:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_11
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_442
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],0
	mov	dword [ebp-32],0
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_445
	call	_brl_blitz_NullObjectError
_445:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	sub	eax,1
	mov	edi,eax
	jmp	_446
_14:
	push	_448
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_c3d_calb3d_CB3DTexture
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-36],eax
	push	_450
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_452
	call	_brl_blitz_NullObjectError
_452:
	mov	eax,dword [ebp-32]
	mov	dword [ebx+20],eax
	push	_454
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_456
	call	_brl_blitz_NullObjectError
_456:
	push	dword [ebp-32]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	mov	dword [ebp-40],eax
	push	_458
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-40]
	call	_brl_filesystem_StripExt
	add	esp,4
	push	eax
	call	_brl_filesystem_StripDir
	add	esp,4
	mov	dword [ebp-44],eax
	push	_460
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_462
	call	_brl_blitz_NullObjectError
_462:
	push	dword [ebp-32]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	eax
	push	_15
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_463
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_465
	call	_brl_blitz_NullObjectError
_465:
	mov	eax,dword [ebp-44]
	mov	dword [ebx+12],eax
	push	_467
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_469
	call	_brl_blitz_NullObjectError
_469:
	mov	esi,ebx
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_472
	call	_brl_blitz_NullObjectError
_472:
	push	1
	push	dword [ebp-32]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,8
	push	eax
	push	dword [ebp-16]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	mov	dword [esi+8],eax
	push	_473
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_475
	call	_brl_blitz_NullObjectError
_475:
	cmp	dword [ebx+8],_bbNullObject
	jne	_476
	push	_477
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_16
	call	_brl_blitz_DebugLog
	add	esp,4
_476:
	push	_478
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_480
	call	_brl_blitz_NullObjectError
_480:
	push	dword [ebp-32]
	push	dword [ebp-36]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
_12:
	add	dword [ebp-32],1
_446:
	cmp	dword [ebp-32],edi
	jle	_14
_13:
	push	_481
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_483
	call	_brl_blitz_NullObjectError
_483:
	mov	ebx,dword [ebx+28]
	cmp	ebx,_bbNullObject
	jne	_485
	call	_brl_blitz_NullObjectError
_485:
	push	dword [ebp-20]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	push	_486
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_488
	call	_brl_blitz_NullObjectError
_488:
	mov	byte [ebx+28],1
	push	_490
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	jmp	_208
_208:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_GetMaterial:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_519
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_501
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_504
	call	_brl_blitz_NullObjectError
_504:
	mov	edi,dword [ebx+28]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_507
	call	_brl_blitz_NullObjectError
_507:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	esi,eax
	jmp	_17
_19:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_512
	call	_brl_blitz_NullObjectError
_512:
	push	_c3d_calb3d_CB3DMaterial
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	je	_17
	push	_513
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_515
	call	_brl_blitz_NullObjectError
_515:
	mov	eax,dword [ebp-8]
	cmp	dword [ebx+24],eax
	jne	_516
	push	_517
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	jmp	_212
_516:
_17:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_510
	call	_brl_blitz_NullObjectError
_510:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_19
_18:
	push	_518
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	jmp	_212
_212:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_AddMesh:
	push	ebp
	mov	ebp,esp
	sub	esp,40
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-12],eax
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],0
	mov	dword [ebp-24],_bbNullObject
	mov	dword [ebp-28],0
	mov	byte [ebp-4],0
	mov	dword [ebp-32],_bbNullObject
	mov	dword [ebp-36],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_617
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_521
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-12],_bbNullObject
	je	_522
	push	_523
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_c3d_calb3d_CB3DMesh
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-16],eax
	push	_525
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_527
	call	_brl_blitz_NullObjectError
_527:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_530
	call	_brl_blitz_NullObjectError
_530:
	mov	esi,dword [esi+12]
	cmp	esi,_bbNullObject
	jne	_532
	call	_brl_blitz_NullObjectError
_532:
	push	dword [ebp-12]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+168]
	add	esp,8
	mov	dword [ebx+8],eax
	push	_533
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_535
	call	_brl_blitz_NullObjectError
_535:
	push	dword [ebx+8]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_20
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_536
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_538
	call	_brl_blitz_NullObjectError
_538:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+16],eax
	push	_540
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_542
	call	_brl_blitz_NullObjectError
_542:
	cmp	dword [ebx+12],_bbNullObject
	je	_543
	push	_544
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_546
	call	_brl_blitz_NullObjectError
_546:
	push	dword [ebx+12]
	call	_sidesign_minib3d_FreeEntity
	add	esp,4
_543:
	push	_547
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_549
	call	_brl_blitz_NullObjectError
_549:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_552
	call	_brl_blitz_NullObjectError
_552:
	push	dword [esi+20]
	call	dword [_sidesign_minib3d_TMesh+400]
	add	esp,4
	mov	dword [ebx+12],eax
	push	_553
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_555
	call	_brl_blitz_NullObjectError
_555:
	mov	eax,dword [ebp-8]
	mov	dword [ebx+36],eax
	push	_557
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-20],0
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_560
	call	_brl_blitz_NullObjectError
_560:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_562
	call	_brl_blitz_NullObjectError
_562:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	sub	eax,1
	mov	dword [ebp-40],eax
	jmp	_563
_23:
	push	_565
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_567
	call	_brl_blitz_NullObjectError
_567:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_569
	call	_brl_blitz_NullObjectError
_569:
	push	dword [ebp-20]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	mov	dword [ebp-24],eax
	push	_571
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-24],_bbNullObject
	je	_572
	push	_573
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_575
	call	_brl_blitz_NullObjectError
_575:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	mov	dword [ebp-28],eax
	push	_577
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-4],0
	push	_579
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],_bbNullObject
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_582
	call	_brl_blitz_NullObjectError
_582:
	mov	edi,dword [ebx+28]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_585
	call	_brl_blitz_NullObjectError
_585:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	esi,eax
	jmp	_24
_26:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_590
	call	_brl_blitz_NullObjectError
_590:
	push	_c3d_calb3d_CB3DMaterial
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-32],eax
	cmp	dword [ebp-32],_bbNullObject
	je	_24
	push	_591
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-32]
	cmp	ebx,_bbNullObject
	jne	_593
	call	_brl_blitz_NullObjectError
_593:
	mov	eax,dword [ebp-28]
	cmp	dword [ebx+24],eax
	jne	_594
	push	_595
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-4],1
	push	_596
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_25
_594:
_24:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_588
	call	_brl_blitz_NullObjectError
_588:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_26
_25:
	push	_597
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	jne	_598
	push	_599
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_c3d_calb3d_CB3DMaterial
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-36],eax
	push	_601
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-36]
	cmp	ebx,_bbNullObject
	jne	_603
	call	_brl_blitz_NullObjectError
_603:
	mov	eax,dword [ebp-28]
	mov	dword [ebx+24],eax
	push	_605
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_607
	call	_brl_blitz_NullObjectError
_607:
	mov	ebx,dword [ebx+28]
	cmp	ebx,_bbNullObject
	jne	_609
	call	_brl_blitz_NullObjectError
_609:
	push	dword [ebp-36]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
_598:
_572:
_21:
	add	dword [ebp-20],1
_563:
	mov	eax,dword [ebp-40]
	cmp	dword [ebp-20],eax
	jle	_23
_22:
	push	_610
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_612
	call	_brl_blitz_NullObjectError
_612:
	mov	ebx,dword [ebx+24]
	cmp	ebx,_bbNullObject
	jne	_614
	call	_brl_blitz_NullObjectError
_614:
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	push	_615
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	jmp	_216
_522:
	push	_616
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,_bbNullObject
	jmp	_216
_216:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_Build:
	push	ebp
	mov	ebp,esp
	sub	esp,68
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbNullObject
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],0
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	dword [ebp-36],0
	mov	dword [ebp-40],_bbEmptyArray
	mov	dword [ebp-44],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_799
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_623
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_625
	call	_brl_blitz_NullObjectError
_625:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_627
	call	_brl_blitz_NullObjectError
_627:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+208]
	add	esp,4
	cmp	eax,_bbNullObject
	jne	_628
	push	_629
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_27
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_630
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	jmp	_219
_628:
	push	_631
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_633
	call	_brl_blitz_NullObjectError
_633:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_635
	call	_brl_blitz_NullObjectError
_635:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+208]
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_637
	call	_brl_blitz_NullObjectError
_637:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_639
	call	_brl_blitz_NullObjectError
_639:
	push	dword [esi+12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+80]
	add	esp,8
	push	_640
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_643
	call	_brl_blitz_NullObjectError
_643:
	mov	eax,dword [ebx+28]
	mov	dword [ebp-64],eax
	mov	ebx,dword [ebp-64]
	cmp	ebx,_bbNullObject
	jne	_646
	call	_brl_blitz_NullObjectError
_646:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-60],eax
	jmp	_28
_30:
	mov	ebx,dword [ebp-60]
	cmp	ebx,_bbNullObject
	jne	_651
	call	_brl_blitz_NullObjectError
_651:
	push	_c3d_calb3d_CB3DMaterial
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-8],eax
	cmp	dword [ebp-8],_bbNullObject
	je	_28
	push	_652
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_654
	call	_brl_blitz_NullObjectError
_654:
	mov	esi,dword [ebx+12]
	cmp	esi,_bbNullObject
	jne	_656
	call	_brl_blitz_NullObjectError
_656:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_658
	call	_brl_blitz_NullObjectError
_658:
	push	dword [ebx+24]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+124]
	add	esp,8
	push	_659
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_661
	call	_brl_blitz_NullObjectError
_661:
	mov	edi,dword [ebx+12]
	cmp	edi,_bbNullObject
	jne	_663
	call	_brl_blitz_NullObjectError
_663:
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_665
	call	_brl_blitz_NullObjectError
_665:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_667
	call	_brl_blitz_NullObjectError
_667:
	push	dword [ebx+24]
	push	0
	push	dword [esi+24]
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+160]
	add	esp,16
_28:
	mov	ebx,dword [ebp-60]
	cmp	ebx,_bbNullObject
	jne	_649
	call	_brl_blitz_NullObjectError
_649:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_30
_29:
	push	_668
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_670
	call	_brl_blitz_NullObjectError
_670:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_673
	call	_brl_blitz_NullObjectError
_673:
	mov	esi,dword [esi+12]
	cmp	esi,_bbNullObject
	jne	_675
	call	_brl_blitz_NullObjectError
_675:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+204]
	add	esp,4
	mov	dword [ebx+16],eax
	push	_676
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_679
	call	_brl_blitz_NullObjectError
_679:
	mov	eax,dword [ebx+24]
	mov	dword [ebp-56],eax
	mov	ebx,dword [ebp-56]
	cmp	ebx,_bbNullObject
	jne	_682
	call	_brl_blitz_NullObjectError
_682:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	edi,eax
	jmp	_31
_33:
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_687
	call	_brl_blitz_NullObjectError
_687:
	push	_c3d_calb3d_CB3DMesh
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	je	_31
	push	_688
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_690
	call	_brl_blitz_NullObjectError
_690:
	mov	esi,dword [ebx+16]
	cmp	esi,_bbNullObject
	jne	_692
	call	_brl_blitz_NullObjectError
_692:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_694
	call	_brl_blitz_NullObjectError
_694:
	push	dword [ebx+8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+52]
	add	esp,8
_31:
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_685
	call	_brl_blitz_NullObjectError
_685:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_33
_32:
	push	_695
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_697
	call	_brl_blitz_NullObjectError
_697:
	cmp	dword [ebx+16],_bbNullObject
	je	_698
	push	_699
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_34
	call	_brl_blitz_DebugLog
	add	esp,4
_698:
	push	_700
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_702
	call	_brl_blitz_NullObjectError
_702:
	movzx	eax,byte [ebx+47]
	mov	eax,eax
	cmp	eax,1
	jne	_703
_703:
	push	_704
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_706
	call	_brl_blitz_NullObjectError
_706:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_709
	call	_brl_blitz_NullObjectError
_709:
	mov	esi,dword [esi+16]
	cmp	esi,_bbNullObject
	jne	_711
	call	_brl_blitz_NullObjectError
_711:
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+88]
	add	esp,4
	mov	dword [ebx+40],eax
	push	_712
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_714
	call	_brl_blitz_NullObjectError
_714:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_716
	call	_brl_blitz_NullObjectError
_716:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	_717
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_719
	call	_brl_blitz_NullObjectError
_719:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_721
	call	_brl_blitz_NullObjectError
_721:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,4
	mov	dword [ebp-16],eax
	push	_723
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_35
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_724
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-20],0
	mov	eax,dword [ebp-16]
	mov	dword [ebp-68],eax
	jmp	_726
_38:
	push	_728
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_730
	call	_brl_blitz_NullObjectError
_730:
	mov	eax,dword [ebx+24]
	mov	dword [ebp-48],eax
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_733
	call	_brl_blitz_NullObjectError
_733:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-52],eax
	jmp	_39
_41:
	mov	ebx,dword [ebp-52]
	cmp	ebx,_bbNullObject
	jne	_738
	call	_brl_blitz_NullObjectError
_738:
	push	_c3d_calb3d_CB3DMesh
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	je	_39
	push	_739
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_741
	call	_brl_blitz_NullObjectError
_741:
	mov	eax,dword [ebp-20]
	cmp	dword [ebx+8],eax
	jne	_742
	push	_743
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-20]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_42
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_744
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_746
	call	_brl_blitz_NullObjectError
_746:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_748
	call	_brl_blitz_NullObjectError
_748:
	push	dword [ebp-20]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+104]
	add	esp,8
	mov	dword [ebp-24],eax
	push	_750
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-24]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_43
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_751
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	edi,eax
	jmp	_753
_46:
	push	_755
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_757
	call	_brl_blitz_NullObjectError
_757:
	mov	esi,dword [ebx+40]
	cmp	esi,_bbNullObject
	jne	_759
	call	_brl_blitz_NullObjectError
_759:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_761
	call	_brl_blitz_NullObjectError
_761:
	push	dword [ebp-28]
	push	dword [ebx+8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+136]
	add	esp,12
	push	_762
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_764
	call	_brl_blitz_NullObjectError
_764:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_766
	call	_brl_blitz_NullObjectError
_766:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+112]
	add	esp,4
	mov	dword [ebp-32],eax
	push	_768
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_770
	call	_brl_blitz_NullObjectError
_770:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_772
	call	_brl_blitz_NullObjectError
_772:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+72]
	add	esp,4
	mov	dword [ebp-36],eax
	push	_774
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-36]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_48
	push	dword [ebp-32]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_47
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_775
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-36]
	imul	eax,3
	push	eax
	push	_776
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-40],eax
	push	_778
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-32]
	imul	eax,3
	push	eax
	push	_779
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-44],eax
	push	_781
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_783
	call	_brl_blitz_NullObjectError
_783:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_785
	call	_brl_blitz_NullObjectError
_785:
	push	3
	push	dword [ebp-44]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+116]
	add	esp,12
	push	_786
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_788
	call	_brl_blitz_NullObjectError
_788:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_790
	call	_brl_blitz_NullObjectError
_790:
	push	dword [ebp-40]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+76]
	add	esp,8
	push	_791
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_793
	call	_brl_blitz_NullObjectError
_793:
	push	dword [ebp-40]
	push	dword [ebp-44]
	push	dword [ebp-28]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,16
_44:
	add	dword [ebp-28],1
_753:
	cmp	dword [ebp-28],edi
	jle	_46
_45:
_742:
_39:
	mov	ebx,dword [ebp-52]
	cmp	ebx,_bbNullObject
	jne	_736
	call	_brl_blitz_NullObjectError
_736:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_41
_40:
_36:
	add	dword [ebp-20],1
_726:
	mov	eax,dword [ebp-68]
	cmp	dword [ebp-20],eax
	jle	_38
_37:
	push	_794
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_796
	call	_brl_blitz_NullObjectError
_796:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_798
	call	_brl_blitz_NullObjectError
_798:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,0
	jmp	_219
_219:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_Destroy:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbNullObject
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_871
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_810
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_813
	call	_brl_blitz_NullObjectError
_813:
	mov	edi,dword [ebx+24]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_816
	call	_brl_blitz_NullObjectError
_816:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	ebx,eax
	jmp	_49
_51:
	cmp	ebx,_bbNullObject
	jne	_821
	call	_brl_blitz_NullObjectError
_821:
	push	_c3d_calb3d_CB3DMesh
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-8],eax
	cmp	dword [ebp-8],_bbNullObject
	je	_49
	push	_822
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_824
	call	_brl_blitz_NullObjectError
_824:
	cmp	dword [esi+12],_bbNullObject
	je	_825
	push	_826
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-8]
	cmp	esi,_bbNullObject
	jne	_828
	call	_brl_blitz_NullObjectError
_828:
	push	dword [esi+12]
	call	_sidesign_minib3d_FreeEntity
	add	esp,4
_825:
_49:
	cmp	ebx,_bbNullObject
	jne	_819
	call	_brl_blitz_NullObjectError
_819:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_51
_50:
	push	_829
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_832
	call	_brl_blitz_NullObjectError
_832:
	mov	eax,dword [ebx+28]
	mov	dword [ebp-24],eax
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_835
	call	_brl_blitz_NullObjectError
_835:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-20],eax
	jmp	_52
_54:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_840
	call	_brl_blitz_NullObjectError
_840:
	push	_c3d_calb3d_CB3DMaterial
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	je	_52
	push	_841
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],_bbNullObject
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_844
	call	_brl_blitz_NullObjectError
_844:
	mov	edi,dword [ebx+40]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_847
	call	_brl_blitz_NullObjectError
_847:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	esi,eax
	jmp	_55
_57:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_852
	call	_brl_blitz_NullObjectError
_852:
	push	_c3d_calb3d_CB3DTexture
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-16],eax
	cmp	dword [ebp-16],_bbNullObject
	je	_55
	push	_853
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_855
	call	_brl_blitz_NullObjectError
_855:
	push	dword [ebx+8]
	call	_sidesign_minib3d_FreeTexture
	add	esp,4
_55:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_850
	call	_brl_blitz_NullObjectError
_850:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_57
_56:
	push	_856
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_858
	call	_brl_blitz_NullObjectError
_858:
	push	dword [ebx+8]
	call	_sidesign_minib3d_FreeBrush
	add	esp,4
_52:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_838
	call	_brl_blitz_NullObjectError
_838:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_54
_53:
	push	_859
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_861
	call	_brl_blitz_NullObjectError
_861:
	push	dword [ebx+24]
	call	_brl_linkedlist_ClearList
	add	esp,4
	push	_862
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_864
	call	_brl_blitz_NullObjectError
_864:
	push	dword [ebx+28]
	call	_brl_linkedlist_ClearList
	add	esp,4
	push	_865
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_867
	call	_brl_blitz_NullObjectError
_867:
	push	dword [ebx+32]
	call	_brl_linkedlist_ClearList
	add	esp,4
	push	_868
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_870
	call	_brl_blitz_NullObjectError
_870:
	push	dword [ebx+36]
	call	_brl_linkedlist_ClearList
	add	esp,4
	mov	ebx,0
	jmp	_222
_222:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DModel_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,64
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	fld	dword [ebp+12]
	fstp	dword [ebp-8]
	mov	dword [ebp-12],0
	mov	dword [ebp-16],0
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],0
	mov	dword [ebp-28],0
	mov	dword [ebp-32],0
	mov	dword [ebp-36],_bbEmptyArray
	mov	dword [ebp-40],_bbEmptyArray
	mov	dword [ebp-44],_bbEmptyArray
	mov	dword [ebp-48],_bbNullObject
	mov	dword [ebp-52],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_994
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_873
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_875
	call	_brl_blitz_NullObjectError
_875:
	cmp	dword [ebx+16],_bbNullObject
	jne	_876
	push	_877
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,-1
	jmp	_226
_876:
	push	_878
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_880
	call	_brl_blitz_NullObjectError
_880:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_882
	call	_brl_blitz_NullObjectError
_882:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+124]
	add	esp,8
	push	_883
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_885
	call	_brl_blitz_NullObjectError
_885:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_887
	call	_brl_blitz_NullObjectError
_887:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	_888
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_890
	call	_brl_blitz_NullObjectError
_890:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_892
	call	_brl_blitz_NullObjectError
_892:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,4
	mov	dword [ebp-12],eax
	push	_894
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-16],0
	mov	dword [ebp-16],0
	mov	eax,dword [ebp-12]
	mov	dword [ebp-64],eax
	jmp	_896
_60:
	push	_898
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],_bbNullObject
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_901
	call	_brl_blitz_NullObjectError
_901:
	mov	eax,dword [ebx+24]
	mov	dword [ebp-56],eax
	mov	ebx,dword [ebp-56]
	cmp	ebx,_bbNullObject
	jne	_904
	call	_brl_blitz_NullObjectError
_904:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-60],eax
	jmp	_61
_63:
	mov	ebx,dword [ebp-60]
	cmp	ebx,_bbNullObject
	jne	_909
	call	_brl_blitz_NullObjectError
_909:
	push	_c3d_calb3d_CB3DMesh
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-20],eax
	cmp	dword [ebp-20],_bbNullObject
	je	_61
	push	_910
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_912
	call	_brl_blitz_NullObjectError
_912:
	mov	eax,dword [ebp-16]
	cmp	dword [ebx+8],eax
	jne	_913
	push	_914
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_916
	call	_brl_blitz_NullObjectError
_916:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_918
	call	_brl_blitz_NullObjectError
_918:
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+104]
	add	esp,8
	mov	dword [ebp-24],eax
	push	_920
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-28],0
	mov	dword [ebp-28],0
	mov	eax,dword [ebp-24]
	sub	eax,1
	mov	edi,eax
	jmp	_922
_66:
	push	_924
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_926
	call	_brl_blitz_NullObjectError
_926:
	mov	esi,dword [ebx+40]
	cmp	esi,_bbNullObject
	jne	_928
	call	_brl_blitz_NullObjectError
_928:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_930
	call	_brl_blitz_NullObjectError
_930:
	push	dword [ebp-28]
	push	dword [ebx+8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+136]
	add	esp,12
	push	_931
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_933
	call	_brl_blitz_NullObjectError
_933:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_935
	call	_brl_blitz_NullObjectError
_935:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+112]
	add	esp,4
	mov	dword [ebp-32],eax
	push	_937
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-32]
	imul	eax,3
	push	eax
	push	_938
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-36],eax
	push	_940
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-32]
	imul	eax,3
	push	eax
	push	_941
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-40],eax
	push	_943
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-32]
	shl	eax,1
	push	eax
	push	_944
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-44],eax
	push	_946
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_948
	call	_brl_blitz_NullObjectError
_948:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_950
	call	_brl_blitz_NullObjectError
_950:
	push	3
	push	dword [ebp-36]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+116]
	add	esp,12
	push	_951
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_953
	call	_brl_blitz_NullObjectError
_953:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_955
	call	_brl_blitz_NullObjectError
_955:
	push	3
	push	dword [ebp-40]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+92]
	add	esp,12
	push	_956
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_958
	call	_brl_blitz_NullObjectError
_958:
	mov	esi,dword [ebx+12]
	cmp	esi,_bbNullObject
	jne	_960
	call	_brl_blitz_NullObjectError
_960:
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_962
	call	_brl_blitz_NullObjectError
_962:
	push	dword [ebx+8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+172]
	add	esp,8
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_964
	call	_brl_blitz_NullObjectError
_964:
	push	dword [ebp-28]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	mov	dword [ebp-48],eax
	push	_966
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_968
	call	_brl_blitz_NullObjectError
_968:
	mov	esi,dword [ebx+40]
	cmp	esi,_bbNullObject
	jne	_970
	call	_brl_blitz_NullObjectError
_970:
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_972
	call	_brl_blitz_NullObjectError
_972:
	push	2
	push	dword [ebp-44]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+108]
	add	esp,16
	push	_973
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_975
	call	_brl_blitz_NullObjectError
_975:
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_977
	call	_brl_blitz_NullObjectError
_977:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+80]
	add	esp,8
	mov	dword [ebp-52],eax
	push	_979
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-52],_bbNullObject
	je	_980
	push	_981
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_983
	call	_brl_blitz_NullObjectError
_983:
	mov	ebx,dword [ebp-52]
	cmp	ebx,_bbNullObject
	jne	_985
	call	_brl_blitz_NullObjectError
_985:
	push	dword [ebx+8]
	push	dword [esi+12]
	call	_sidesign_minib3d_PaintEntity
	add	esp,8
_980:
	push	_986
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_988
	call	_brl_blitz_NullObjectError
_988:
	push	dword [ebp-44]
	push	dword [ebp-40]
	push	dword [ebp-36]
	push	dword [ebp-28]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,20
_64:
	add	dword [ebp-28],1
_922:
	cmp	dword [ebp-28],edi
	jle	_66
_65:
_913:
_61:
	mov	ebx,dword [ebp-60]
	cmp	ebx,_bbNullObject
	jne	_907
	call	_brl_blitz_NullObjectError
_907:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_63
_62:
_58:
	add	dword [ebp-16],1
_896:
	mov	eax,dword [ebp-64]
	cmp	dword [ebp-16],eax
	jle	_60
_59:
	push	_989
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_991
	call	_brl_blitz_NullObjectError
_991:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_993
	call	_brl_blitz_NullObjectError
_993:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,0
	jmp	_226
_226:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DMesh_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1000
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_c3d_calb3d_CB3DMesh
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],_bbEmptyArray
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],_bbEmptyString
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],_bbEmptyString
	mov	eax,dword [ebp-4]
	mov	byte [eax+32],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],_bbNullObject
	mov	ebx,0
	jmp	_229
_229:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DMesh_PaintMaterial:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	push	ebp
	push	_1010
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1001
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1004
	call	_brl_blitz_NullObjectError
_1004:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_1007
	call	_brl_blitz_ArrayBoundsError
_1007:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_1009
	call	_brl_blitz_NullObjectError
_1009:
	push	dword [ebp-12]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	mov	ebx,0
	jmp	_234
_234:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DMesh_Build:
	push	ebp
	mov	ebp,esp
	sub	esp,44
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	dword [ebp-20],0
	mov	dword [ebp-24],0
	mov	eax,ebp
	push	eax
	push	_1113
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1011
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1013
	call	_brl_blitz_NullObjectError
_1013:
	cmp	dword [ebx+16],_bbNullObject
	jne	_1014
	push	_1015
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_67
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_1016
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-28],0
	jmp	_240
_1014:
	push	_1017
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1019
	call	_brl_blitz_NullObjectError
_1019:
	cmp	dword [ebx+12],_bbNullObject
	jne	_1020
	push	_1021
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1023
	call	_brl_blitz_NullObjectError
_1023:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1026
	call	_brl_blitz_NullObjectError
_1026:
	mov	esi,dword [esi+36]
	cmp	esi,_bbNullObject
	jne	_1028
	call	_brl_blitz_NullObjectError
_1028:
	push	dword [esi+20]
	call	dword [_sidesign_minib3d_TMesh+400]
	add	esp,4
	mov	dword [ebx+12],eax
_1020:
	push	_1029
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1031
	call	_brl_blitz_NullObjectError
_1031:
	mov	eax,dword [ebx+20]
	mov	eax,dword [eax+20]
	sub	eax,1
	cmp	dword [ebp-8],eax
	jle	_1032
	push	_1033
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1035
	call	_brl_blitz_NullObjectError
_1035:
	mov	edi,ebx
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1038
	call	_brl_blitz_NullObjectError
_1038:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1040
	call	_brl_blitz_NullObjectError
_1040:
	mov	eax,dword [ebx+20]
	mov	eax,dword [eax+20]
	add	eax,1
	push	eax
	push	0
	push	dword [esi+20]
	push	_1041
	call	_bbArraySlice
	add	esp,16
	mov	dword [edi+20],eax
	push	_1042
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1044
	call	_brl_blitz_NullObjectError
_1044:
	mov	ebx,dword [ebx+20]
	mov	esi,dword [ebp-8]
	cmp	esi,dword [ebx+20]
	jb	_1047
	call	_brl_blitz_ArrayBoundsError
_1047:
	shl	esi,2
	add	ebx,esi
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1050
	call	_brl_blitz_NullObjectError
_1050:
	mov	esi,dword [esi+12]
	cmp	esi,_bbNullObject
	jne	_1052
	call	_brl_blitz_NullObjectError
_1052:
	push	_bbNullObject
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+464]
	add	esp,8
	mov	dword [ebx+24],eax
	push	_1053
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_68
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
	jmp	_1054
_1032:
	push	_1055
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1057
	call	_brl_blitz_NullObjectError
_1057:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_1060
	call	_brl_blitz_ArrayBoundsError
_1060:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_1062
	call	_brl_blitz_NullObjectError
_1062:
	push	1
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,12
	push	_1063
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_69
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_blitz_DebugLog
	add	esp,4
_1054:
	push	_1064
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-20],0
	mov	dword [ebp-20],0
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-40],eax
	jmp	_1066
_72:
	push	_1068
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1070
	call	_brl_blitz_NullObjectError
_1070:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_1073
	call	_brl_blitz_ArrayBoundsError
_1073:
	mov	edi,dword [esi+ebx*4+24]
	cmp	edi,_bbNullObject
	jne	_1075
	call	_brl_blitz_NullObjectError
_1075:
	mov	eax,dword [ebp-20]
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp-12]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-32],eax
	jb	_1077
	call	_brl_blitz_ArrayBoundsError
_1077:
	mov	eax,dword [ebp-20]
	add	eax,1
	mov	esi,eax
	mov	eax,dword [ebp-12]
	cmp	esi,dword [eax+20]
	jb	_1079
	call	_brl_blitz_ArrayBoundsError
_1079:
	mov	eax,dword [ebp-20]
	add	eax,2
	mov	ebx,eax
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_1081
	call	_brl_blitz_ArrayBoundsError
_1081:
	push	0
	push	0
	push	0
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	mov	eax,dword [ebp-12]
	push	dword [eax+esi*4+24]
	mov	edx,dword [ebp-12]
	mov	eax,dword [ebp-32]
	push	dword [edx+eax*4+24]
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+60]
	add	esp,28
_70:
	add	dword [ebp-20],3
_1066:
	mov	eax,dword [ebp-40]
	cmp	dword [ebp-20],eax
	jle	_72
_71:
	push	_1082
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],0
	mov	dword [ebp-24],0
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+20]
	sub	eax,1
	mov	dword [ebp-44],eax
	jmp	_1084
_75:
	push	_1086
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1088
	call	_brl_blitz_NullObjectError
_1088:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_1091
	call	_brl_blitz_ArrayBoundsError
_1091:
	mov	edi,dword [esi+ebx*4+24]
	cmp	edi,_bbNullObject
	jne	_1093
	call	_brl_blitz_NullObjectError
_1093:
	mov	eax,dword [ebp-24]
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+20]
	cmp	dword [ebp-36],eax
	jb	_1095
	call	_brl_blitz_ArrayBoundsError
_1095:
	mov	eax,dword [ebp-24]
	add	eax,1
	mov	esi,eax
	mov	eax,dword [ebp-16]
	cmp	esi,dword [eax+20]
	jb	_1097
	call	_brl_blitz_ArrayBoundsError
_1097:
	mov	eax,dword [ebp-24]
	add	eax,2
	mov	ebx,eax
	mov	eax,dword [ebp-16]
	cmp	ebx,dword [eax+20]
	jb	_1099
	call	_brl_blitz_ArrayBoundsError
_1099:
	mov	eax,dword [ebp-16]
	movzx	eax,word [eax+ebx*2+24]
	mov	eax,eax
	push	eax
	mov	eax,dword [ebp-16]
	movzx	eax,word [eax+esi*2+24]
	mov	eax,eax
	push	eax
	mov	edx,dword [ebp-16]
	mov	eax,dword [ebp-36]
	movzx	eax,word [edx+eax*2+24]
	mov	eax,eax
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+64]
	add	esp,16
_73:
	add	dword [ebp-24],3
_1084:
	mov	eax,dword [ebp-44]
	cmp	dword [ebp-24],eax
	jle	_75
_74:
	push	_1100
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1102
	call	_brl_blitz_NullObjectError
_1102:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_1105
	call	_brl_blitz_ArrayBoundsError
_1105:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_1107
	call	_brl_blitz_NullObjectError
_1107:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+148]
	add	esp,4
	push	_1108
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1110
	call	_brl_blitz_NullObjectError
_1110:
	mov	byte [ebx+32],1
	push	_1112
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	byte [ebp-28],1
	jmp	_240
_240:
	call	dword [_bbOnDebugLeaveScope]
	movzx	eax,byte [ebp-28]
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DMesh_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	mov	eax,dword [ebp+20]
	mov	dword [ebp-16],eax
	mov	eax,dword [ebp+24]
	mov	dword [ebp-20],eax
	push	ebp
	push	_1153
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1117
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1119
	call	_brl_blitz_NullObjectError
_1119:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_1122
	call	_brl_blitz_ArrayBoundsError
_1122:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_1124
	call	_brl_blitz_NullObjectError
_1124:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+20],eax
	push	_1126
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1128
	call	_brl_blitz_NullObjectError
_1128:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_1131
	call	_brl_blitz_ArrayBoundsError
_1131:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_1133
	call	_brl_blitz_NullObjectError
_1133:
	mov	eax,dword [ebp-16]
	mov	dword [ebx+32],eax
	push	_1135
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1137
	call	_brl_blitz_NullObjectError
_1137:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_1140
	call	_brl_blitz_ArrayBoundsError
_1140:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_1142
	call	_brl_blitz_NullObjectError
_1142:
	mov	eax,dword [ebp-20]
	mov	dword [ebx+24],eax
	push	_1144
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1146
	call	_brl_blitz_NullObjectError
_1146:
	mov	esi,dword [ebx+20]
	mov	ebx,dword [ebp-8]
	cmp	ebx,dword [esi+20]
	jb	_1149
	call	_brl_blitz_ArrayBoundsError
_1149:
	mov	ebx,dword [esi+ebx*4+24]
	cmp	ebx,_bbNullObject
	jne	_1151
	call	_brl_blitz_NullObjectError
_1151:
	or	dword [ebx+96],7
	mov	ebx,0
	jmp	_247
_247:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DMaterial_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,ebp
	push	eax
	push	_1195
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_c3d_calb3d_CB3DMaterial
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],0
	mov	ebx,dword [ebp-4]
	push	3
	push	_1156
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebx+20],eax
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	mov	eax,dword [ebp-4]
	mov	byte [eax+28],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],_bbEmptyString
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],_bbEmptyString
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],_bbNullObject
	push	_1157
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1160
	call	_brl_blitz_NullObjectError
_1160:
	push	1132396544
	push	1132396544
	push	1132396544
	call	dword [_sidesign_minib3d_TBrush+56]
	add	esp,12
	mov	dword [ebx+8],eax
	push	_1162
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1164
	call	_brl_blitz_NullObjectError
_1164:
	mov	esi,dword [ebx+20]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_1167
	call	_brl_blitz_ArrayBoundsError
_1167:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],255
	push	_1169
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1171
	call	_brl_blitz_NullObjectError
_1171:
	mov	esi,dword [ebx+20]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_1174
	call	_brl_blitz_ArrayBoundsError
_1174:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],255
	push	_1176
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1178
	call	_brl_blitz_NullObjectError
_1178:
	mov	esi,dword [ebx+20]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_1181
	call	_brl_blitz_ArrayBoundsError
_1181:
	shl	ebx,2
	add	esi,ebx
	mov	dword [esi+24],255
	push	_1183
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1185
	call	_brl_blitz_NullObjectError
_1185:
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebx+40],eax
	push	_1187
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1189
	call	_brl_blitz_NullObjectError
_1189:
	mov	dword [ebx+24],0
	push	_1191
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1193
	call	_brl_blitz_NullObjectError
_1193:
	mov	dword [ebx+36],_76
	mov	ebx,0
	jmp	_250
_250:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DMaterial_AddMap:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,dword [ebp+16]
	mov	dword [ebp-12],eax
	push	ebp
	push	_1216
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1196
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1198
	call	_brl_blitz_NullObjectError
_1198:
	mov	esi,dword [ebx+8]
	cmp	esi,_bbNullObject
	jne	_1200
	call	_brl_blitz_NullObjectError
_1200:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1202
	call	_brl_blitz_NullObjectError
_1202:
	push	dword [ebp-12]
	push	0
	push	dword [ebx+8]
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+76]
	add	esp,16
	push	_1203
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1205
	call	_brl_blitz_NullObjectError
_1205:
	mov	eax,dword [ebp-12]
	mov	dword [ebx+20],eax
	push	_1207
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_1209
	call	_brl_blitz_NullObjectError
_1209:
	mov	eax,dword [ebp-4]
	mov	dword [ebx+28],eax
	push	_1211
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1213
	call	_brl_blitz_NullObjectError
_1213:
	mov	ebx,dword [ebx+40]
	cmp	ebx,_bbNullObject
	jne	_1215
	call	_brl_blitz_NullObjectError
_1215:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,8
	mov	ebx,0
	jmp	_255
_255:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DTexture_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1218
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_c3d_calb3d_CB3DTexture
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],_bbEmptyString
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],2
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],_bbNullObject
	mov	ebx,0
	jmp	_258
_258:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DAnimation_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1219
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_c3d_calb3d_CB3DAnimation
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],_bbEmptyString
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],_bbEmptyString
	mov	eax,dword [ebp-4]
	mov	byte [eax+16],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],_bbNullObject
	mov	ebx,0
	jmp	_261
_261:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__c3d_calb3d_CB3DMAnimation_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_1220
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_c3d_calb3d_CB3DMAnimation
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],_bbEmptyString
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],_bbEmptyString
	mov	eax,dword [ebp-4]
	mov	byte [eax+16],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],_bbNullObject
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],_bbNullObject
	mov	ebx,0
	jmp	_264
_264:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_268:
	dd	0
_267:
	db	"calb3d",0
	align	4
_266:
	dd	1
	dd	_267
	dd	0
_78:
	db	"CB3DModel",0
_79:
	db	"Skele",0
_80:
	db	":CalCoreSkeleton",0
_81:
	db	"CoreModel",0
_82:
	db	":CalCoreModel",0
_83:
	db	"CModel",0
_84:
	db	":CalModel",0
_85:
	db	"B3dModel",0
_86:
	db	":TMesh",0
_87:
	db	"Meshes",0
_88:
	db	":TList",0
_89:
	db	"Materials",0
_90:
	db	"Anims",0
_91:
	db	"MAnims",0
_92:
	db	"cal_renderer",0
_93:
	db	":CalRenderer",0
_94:
	db	"isloaded",0
_95:
	db	"b",0
_96:
	db	"rebuild",0
_97:
	db	"SkeletonLoaded",0
_98:
	db	"isanim",0
_99:
	db	"SkeleFile",0
_100:
	db	"$",0
_101:
	db	"SkeleName",0
_102:
	db	"New",0
_103:
	db	"()i",0
_104:
	db	"SetSkeleton",0
_105:
	db	"(:CalCoreSkeleton)i",0
_106:
	db	"Animate",0
_107:
	db	"(i)i",0
_108:
	db	"StopAnimation",0
_109:
	db	"StopMorphAnimation",0
_110:
	db	"AnimateMorph",0
_111:
	db	"AddAnim",0
_112:
	db	"(:CalCoreAnimation):CB3DAnimation",0
_113:
	db	"AddMorphAnim",0
_114:
	db	"(:CalCoreAnimatedMorph):CB3DMAnimation",0
_115:
	db	"AddMaterial",0
_116:
	db	"(:CalCoreMaterial,i,$):CB3DMaterial",0
_117:
	db	"GetMaterial",0
_118:
	db	"(i):CB3DMaterial",0
_119:
	db	"AddMesh",0
_120:
	db	"(:CalCoreMesh):CB3DMesh",0
_121:
	db	"Build",0
_122:
	db	"Destroy",0
_123:
	db	"Update",0
_124:
	db	"(f)i",0
	align	4
_77:
	dd	2
	dd	_78
	dd	3
	dd	_79
	dd	_80
	dd	8
	dd	3
	dd	_81
	dd	_82
	dd	12
	dd	3
	dd	_83
	dd	_84
	dd	16
	dd	3
	dd	_85
	dd	_86
	dd	20
	dd	3
	dd	_87
	dd	_88
	dd	24
	dd	3
	dd	_89
	dd	_88
	dd	28
	dd	3
	dd	_90
	dd	_88
	dd	32
	dd	3
	dd	_91
	dd	_88
	dd	36
	dd	3
	dd	_92
	dd	_93
	dd	40
	dd	3
	dd	_94
	dd	_95
	dd	44
	dd	3
	dd	_96
	dd	_95
	dd	45
	dd	3
	dd	_97
	dd	_95
	dd	46
	dd	3
	dd	_98
	dd	_95
	dd	47
	dd	3
	dd	_99
	dd	_100
	dd	48
	dd	3
	dd	_101
	dd	_100
	dd	52
	dd	6
	dd	_102
	dd	_103
	dd	16
	dd	6
	dd	_104
	dd	_105
	dd	48
	dd	6
	dd	_106
	dd	_107
	dd	52
	dd	6
	dd	_108
	dd	_107
	dd	56
	dd	6
	dd	_109
	dd	_107
	dd	60
	dd	6
	dd	_110
	dd	_107
	dd	64
	dd	6
	dd	_111
	dd	_112
	dd	68
	dd	6
	dd	_113
	dd	_114
	dd	72
	dd	6
	dd	_115
	dd	_116
	dd	76
	dd	6
	dd	_117
	dd	_118
	dd	80
	dd	6
	dd	_119
	dd	_120
	dd	84
	dd	6
	dd	_121
	dd	_103
	dd	88
	dd	6
	dd	_122
	dd	_103
	dd	92
	dd	6
	dd	_123
	dd	_124
	dd	96
	dd	0
	align	4
_c3d_calb3d_CB3DModel:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_77
	dd	56
	dd	__c3d_calb3d_CB3DModel_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_calb3d_CB3DModel_SetSkeleton
	dd	__c3d_calb3d_CB3DModel_Animate
	dd	__c3d_calb3d_CB3DModel_StopAnimation
	dd	__c3d_calb3d_CB3DModel_StopMorphAnimation
	dd	__c3d_calb3d_CB3DModel_AnimateMorph
	dd	__c3d_calb3d_CB3DModel_AddAnim
	dd	__c3d_calb3d_CB3DModel_AddMorphAnim
	dd	__c3d_calb3d_CB3DModel_AddMaterial
	dd	__c3d_calb3d_CB3DModel_GetMaterial
	dd	__c3d_calb3d_CB3DModel_AddMesh
	dd	__c3d_calb3d_CB3DModel_Build
	dd	__c3d_calb3d_CB3DModel_Destroy
	dd	__c3d_calb3d_CB3DModel_Update
_126:
	db	"CB3DMesh",0
_127:
	db	"MeshID",0
_128:
	db	"i",0
_129:
	db	"B3dMesh",0
_130:
	db	"CMesh",0
_131:
	db	":CalCoreMesh",0
_132:
	db	"surf",0
_133:
	db	"[]:TSurface",0
_134:
	db	"filename",0
_135:
	db	"name",0
_136:
	db	"parent",0
_137:
	db	":CB3DModel",0
_138:
	db	"PaintMaterial",0
_139:
	db	"(i,:TBrush)i",0
_140:
	db	"(i,[]f,[]s)b",0
_141:
	db	"(i,[]f,[]f,[]f)i",0
	align	4
_125:
	dd	2
	dd	_126
	dd	3
	dd	_127
	dd	_128
	dd	8
	dd	3
	dd	_129
	dd	_86
	dd	12
	dd	3
	dd	_130
	dd	_131
	dd	16
	dd	3
	dd	_132
	dd	_133
	dd	20
	dd	3
	dd	_134
	dd	_100
	dd	24
	dd	3
	dd	_135
	dd	_100
	dd	28
	dd	3
	dd	_94
	dd	_95
	dd	32
	dd	3
	dd	_136
	dd	_137
	dd	36
	dd	6
	dd	_102
	dd	_103
	dd	16
	dd	6
	dd	_138
	dd	_139
	dd	48
	dd	6
	dd	_121
	dd	_140
	dd	52
	dd	6
	dd	_123
	dd	_141
	dd	56
	dd	0
	align	4
_c3d_calb3d_CB3DMesh:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_125
	dd	40
	dd	__c3d_calb3d_CB3DMesh_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_calb3d_CB3DMesh_PaintMaterial
	dd	__c3d_calb3d_CB3DMesh_Build
	dd	__c3d_calb3d_CB3DMesh_Update
_143:
	db	"CB3DMaterial",0
_144:
	db	"B3dBrush",0
_145:
	db	":TBrush",0
_146:
	db	"Cmat",0
_147:
	db	":CalCoreMaterial",0
_148:
	db	"flags",0
_149:
	db	"diffuse",0
_150:
	db	"[]i",0
_151:
	db	"matid",0
_152:
	db	"maps",0
_153:
	db	"AddMap",0
_154:
	db	"(:CB3DTexture,i)i",0
	align	4
_142:
	dd	2
	dd	_143
	dd	3
	dd	_144
	dd	_145
	dd	8
	dd	3
	dd	_146
	dd	_147
	dd	12
	dd	3
	dd	_148
	dd	_128
	dd	16
	dd	3
	dd	_149
	dd	_150
	dd	20
	dd	3
	dd	_151
	dd	_128
	dd	24
	dd	3
	dd	_94
	dd	_95
	dd	28
	dd	3
	dd	_134
	dd	_100
	dd	32
	dd	3
	dd	_135
	dd	_100
	dd	36
	dd	3
	dd	_152
	dd	_88
	dd	40
	dd	6
	dd	_102
	dd	_103
	dd	16
	dd	6
	dd	_153
	dd	_154
	dd	48
	dd	0
	align	4
_c3d_calb3d_CB3DMaterial:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_142
	dd	44
	dd	__c3d_calb3d_CB3DMaterial_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__c3d_calb3d_CB3DMaterial_AddMap
_156:
	db	"CB3DTexture",0
_157:
	db	"tex",0
_158:
	db	":TTexture",0
_159:
	db	"blend",0
_160:
	db	"id",0
_161:
	db	"uvset",0
_162:
	db	"parentmat",0
_163:
	db	":CB3DMaterial",0
	align	4
_155:
	dd	2
	dd	_156
	dd	3
	dd	_157
	dd	_158
	dd	8
	dd	3
	dd	_135
	dd	_100
	dd	12
	dd	3
	dd	_159
	dd	_128
	dd	16
	dd	3
	dd	_160
	dd	_128
	dd	20
	dd	3
	dd	_161
	dd	_128
	dd	24
	dd	3
	dd	_162
	dd	_163
	dd	28
	dd	6
	dd	_102
	dd	_103
	dd	16
	dd	0
	align	4
_c3d_calb3d_CB3DTexture:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_155
	dd	32
	dd	__c3d_calb3d_CB3DTexture_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_165:
	db	"CB3DAnimation",0
_166:
	db	"canim",0
_167:
	db	":CalCoreAnimation",0
	align	4
_164:
	dd	2
	dd	_165
	dd	3
	dd	_134
	dd	_100
	dd	8
	dd	3
	dd	_135
	dd	_100
	dd	12
	dd	3
	dd	_94
	dd	_95
	dd	16
	dd	3
	dd	_160
	dd	_128
	dd	20
	dd	3
	dd	_166
	dd	_167
	dd	24
	dd	3
	dd	_136
	dd	_137
	dd	28
	dd	6
	dd	_102
	dd	_103
	dd	16
	dd	0
	align	4
_c3d_calb3d_CB3DAnimation:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_164
	dd	32
	dd	__c3d_calb3d_CB3DAnimation_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_169:
	db	"CB3DMAnimation",0
_170:
	db	":CalCoreAnimatedMorph",0
	align	4
_168:
	dd	2
	dd	_169
	dd	3
	dd	_134
	dd	_100
	dd	8
	dd	3
	dd	_135
	dd	_100
	dd	12
	dd	3
	dd	_94
	dd	_95
	dd	16
	dd	3
	dd	_160
	dd	_128
	dd	20
	dd	3
	dd	_166
	dd	_170
	dd	24
	dd	3
	dd	_136
	dd	_137
	dd	28
	dd	6
	dd	_102
	dd	_103
	dd	16
	dd	0
	align	4
_c3d_calb3d_CB3DMAnimation:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_168
	dd	32
	dd	__c3d_calb3d_CB3DMAnimation_New
	dd	_bbObjectDtor
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_296:
	db	"Self",0
	align	4
_295:
	dd	1
	dd	_102
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	0
_271:
	db	"$BMXPATH/mod/c3d.mod/calb3d.mod/includes/cb3dmodel.bmx",0
	align	4
_270:
	dd	_271
	dd	21
	dd	3
	align	4
_275:
	dd	_271
	dd	22
	dd	3
	align	4
_279:
	dd	_271
	dd	23
	dd	3
	align	4
_283:
	dd	_271
	dd	24
	dd	3
	align	4
_287:
	dd	_271
	dd	25
	dd	3
	align	4
_291:
	dd	_271
	dd	26
	dd	3
_309:
	db	"skel",0
	align	4
_308:
	dd	1
	dd	_104
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_309
	dd	_80
	dd	-8
	dd	0
	align	4
_297:
	dd	_271
	dd	31
	dd	3
	align	4
_301:
	dd	_271
	dd	32
	dd	3
	align	4
_317:
	dd	1
	dd	_106
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_160
	dd	_128
	dd	-8
	dd	0
	align	4
_310:
	dd	_271
	dd	36
	dd	3
	align	4
_325:
	dd	1
	dd	_108
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_160
	dd	_128
	dd	-8
	dd	0
	align	4
_318:
	dd	_271
	dd	40
	dd	3
	align	4
_333:
	dd	1
	dd	_109
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_160
	dd	_128
	dd	-8
	dd	0
	align	4
_326:
	dd	_271
	dd	44
	dd	3
	align	4
_341:
	dd	1
	dd	_110
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_160
	dd	_128
	dd	-8
	dd	0
	align	4
_334:
	dd	_271
	dd	48
	dd	3
_369:
	db	"anm",0
_370:
	db	"c3db3da",0
_371:
	db	":CB3DAnimation",0
	align	4
_368:
	dd	1
	dd	_111
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_369
	dd	_167
	dd	-8
	dd	2
	dd	_370
	dd	_371
	dd	-12
	dd	0
	align	4
_342:
	dd	_271
	dd	55
	dd	3
	align	4
_344:
	dd	_271
	dd	56
	dd	4
	align	4
_346:
	dd	_271
	dd	57
	dd	4
	align	4
_354:
	dd	_271
	dd	58
	dd	4
	align	4
_5:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	65,78,73,77,32,73,68,58,32
	align	4
_357:
	dd	_271
	dd	59
	dd	4
	align	4
_361:
	dd	_271
	dd	60
	dd	4
	align	4
_366:
	dd	_271
	dd	61
	dd	4
	align	4
_367:
	dd	_271
	dd	63
	dd	3
_399:
	db	":CB3DMAnimation",0
	align	4
_398:
	dd	1
	dd	_113
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_369
	dd	_170
	dd	-8
	dd	2
	dd	_370
	dd	_399
	dd	-12
	dd	0
	align	4
_372:
	dd	_271
	dd	71
	dd	3
	align	4
_374:
	dd	_271
	dd	72
	dd	4
	align	4
_376:
	dd	_271
	dd	73
	dd	4
	align	4
_384:
	dd	_271
	dd	74
	dd	4
	align	4
_6:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	77,79,82,80,72,32,73,68,58,32
	align	4
_387:
	dd	_271
	dd	75
	dd	4
	align	4
_391:
	dd	_271
	dd	76
	dd	4
	align	4
_396:
	dd	_271
	dd	77
	dd	4
	align	4
_397:
	dd	_271
	dd	79
	dd	3
_492:
	db	"cmat",0
_493:
	db	"texdir",0
_494:
	db	"mat",0
_495:
	db	"mmat",0
_496:
	db	"haveid",0
_497:
	db	"cimg",0
_498:
	db	":CB3DTexture",0
_499:
	db	"fname",0
_500:
	db	"nfname",0
	align	4
_491:
	dd	1
	dd	_115
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_492
	dd	_147
	dd	-8
	dd	2
	dd	_151
	dd	_128
	dd	-12
	dd	2
	dd	_493
	dd	_100
	dd	-16
	dd	2
	dd	_494
	dd	_163
	dd	-20
	dd	2
	dd	_495
	dd	_163
	dd	-24
	dd	2
	dd	_496
	dd	_128
	dd	-28
	dd	2
	dd	_128
	dd	_128
	dd	-32
	dd	2
	dd	_497
	dd	_498
	dd	-36
	dd	2
	dd	_499
	dd	_100
	dd	-40
	dd	2
	dd	_500
	dd	_100
	dd	-44
	dd	0
	align	4
_400:
	dd	_271
	dd	85
	dd	2
	align	4
_402:
	dd	_271
	dd	87
	dd	3
	align	4
_414:
	dd	_271
	dd	89
	dd	4
	align	4
_418:
	dd	_271
	dd	90
	dd	5
	align	4
_419:
	dd	_271
	dd	92
	dd	5
	align	4
_421:
	dd	_271
	dd	93
	dd	5
	align	4
_422:
	dd	_271
	dd	97
	dd	3
	align	4
_424:
	dd	_271
	dd	98
	dd	4
	align	4
_425:
	dd	_271
	dd	99
	dd	4
	align	4
_429:
	dd	_271
	dd	100
	dd	4
	align	4
_433:
	dd	_271
	dd	101
	dd	4
	align	4
_438:
	dd	_271
	dd	103
	dd	3
	align	4
_10:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	67,114,101,97,116,101,100,32,77,97,116,101,114,105,97,108
	dw	58,32
	align	4
_439:
	dd	_271
	dd	105
	dd	3
	align	4
_11:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	77,97,112,99,111,117,110,116,58,32
	align	4
_442:
	dd	_271
	dd	106
	dd	3
	align	4
_448:
	dd	_271
	dd	107
	dd	4
	align	4
_450:
	dd	_271
	dd	108
	dd	4
	align	4
_454:
	dd	_271
	dd	110
	dd	4
	align	4
_458:
	dd	_271
	dd	111
	dd	4
	align	4
_460:
	dd	_271
	dd	113
	dd	4
	align	4
_15:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	70,101,116,99,104,58,32
	align	4
_463:
	dd	_271
	dd	114
	dd	4
	align	4
_467:
	dd	_271
	dd	116
	dd	4
	align	4
_473:
	dd	_271
	dd	117
	dd	4
	align	4
_477:
	dd	_271
	dd	118
	dd	5
	align	4
_16:
	dd	_bbStringClass
	dd	2147483647
	dd	16
	dw	116,101,120,116,117,114,101,32,119,97,115,32,110,117,108,108
	align	4
_478:
	dd	_271
	dd	120
	dd	4
	align	4
_481:
	dd	_271
	dd	123
	dd	3
	align	4
_486:
	dd	_271
	dd	124
	dd	3
	align	4
_490:
	dd	_271
	dd	125
	dd	3
_520:
	db	"index",0
	align	4
_519:
	dd	1
	dd	_117
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_520
	dd	_128
	dd	-8
	dd	2
	dd	_494
	dd	_163
	dd	-12
	dd	0
	align	4
_501:
	dd	_271
	dd	131
	dd	3
	align	4
_513:
	dd	_271
	dd	133
	dd	4
	align	4
_517:
	dd	_271
	dd	140
	dd	5
	align	4
_518:
	dd	_271
	dd	146
	dd	3
_618:
	db	"msh",0
_619:
	db	"c3db3dm",0
_620:
	db	":CB3DMesh",0
_621:
	db	"smesh",0
_622:
	db	":CalCoreSubmesh",0
	align	4
_617:
	dd	1
	dd	_119
	dd	2
	dd	_296
	dd	_137
	dd	-8
	dd	2
	dd	_618
	dd	_131
	dd	-12
	dd	2
	dd	_619
	dd	_620
	dd	-16
	dd	2
	dd	_128
	dd	_128
	dd	-20
	dd	2
	dd	_621
	dd	_622
	dd	-24
	dd	2
	dd	_151
	dd	_128
	dd	-28
	dd	2
	dd	_496
	dd	_95
	dd	-4
	dd	2
	dd	_494
	dd	_163
	dd	-32
	dd	2
	dd	_492
	dd	_163
	dd	-36
	dd	0
	align	4
_521:
	dd	_271
	dd	153
	dd	4
	align	4
_523:
	dd	_271
	dd	155
	dd	5
	align	4
_525:
	dd	_271
	dd	156
	dd	5
	align	4
_533:
	dd	_271
	dd	157
	dd	5
	align	4
_20:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	65,100,100,101,100,58,32
	align	4
_536:
	dd	_271
	dd	158
	dd	5
	align	4
_540:
	dd	_271
	dd	159
	dd	5
	align	4
_544:
	dd	_271
	dd	159
	dd	37
	align	4
_547:
	dd	_271
	dd	160
	dd	5
	align	4
_553:
	dd	_271
	dd	162
	dd	5
	align	4
_557:
	dd	_271
	dd	165
	dd	5
	align	4
_565:
	dd	_271
	dd	167
	dd	6
	align	4
_571:
	dd	_271
	dd	168
	dd	6
	align	4
_573:
	dd	_271
	dd	170
	dd	7
	align	4
_577:
	dd	_271
	dd	172
	dd	7
	align	4
_579:
	dd	_271
	dd	173
	dd	7
	align	4
_591:
	dd	_271
	dd	175
	dd	8
	align	4
_595:
	dd	_271
	dd	176
	dd	9
	align	4
_596:
	dd	_271
	dd	177
	dd	9
	align	4
_597:
	dd	_271
	dd	181
	dd	7
	align	4
_599:
	dd	_271
	dd	182
	dd	8
	align	4
_601:
	dd	_271
	dd	183
	dd	8
	align	4
_605:
	dd	_271
	dd	184
	dd	8
	align	4
_610:
	dd	_271
	dd	191
	dd	5
	align	4
_615:
	dd	_271
	dd	192
	dd	5
	align	4
_616:
	dd	_271
	dd	194
	dd	4
_800:
	db	"cb3d",0
_801:
	db	"mc",0
_802:
	db	"submeshCount",0
_803:
	db	"ii",0
_804:
	db	"vertexCount",0
_805:
	db	"faceCount",0
_806:
	db	"faces",0
_807:
	db	"[]s",0
_808:
	db	"vertices",0
_809:
	db	"[]f",0
	align	4
_799:
	dd	1
	dd	_121
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_494
	dd	_163
	dd	-8
	dd	2
	dd	_800
	dd	_620
	dd	-12
	dd	2
	dd	_801
	dd	_128
	dd	-16
	dd	2
	dd	_128
	dd	_128
	dd	-20
	dd	2
	dd	_802
	dd	_128
	dd	-24
	dd	2
	dd	_803
	dd	_128
	dd	-28
	dd	2
	dd	_804
	dd	_128
	dd	-32
	dd	2
	dd	_805
	dd	_128
	dd	-36
	dd	2
	dd	_806
	dd	_807
	dd	-40
	dd	2
	dd	_808
	dd	_809
	dd	-44
	dd	0
	align	4
_623:
	dd	_271
	dd	199
	dd	3
	align	4
_629:
	dd	_271
	dd	200
	dd	4
	align	4
_27:
	dd	_bbStringClass
	dd	2147483647
	dd	22
	dw	67,111,114,101,32,83,107,101,108,101,116,111,110,32,105,115
	dw	32,110,117,108,108,33
	align	4
_630:
	dd	_271
	dd	201
	dd	4
	align	4
_631:
	dd	_271
	dd	203
	dd	3
	align	4
_640:
	dd	_271
	dd	205
	dd	3
	align	4
_652:
	dd	_271
	dd	207
	dd	4
	align	4
_659:
	dd	_271
	dd	208
	dd	4
	align	4
_668:
	dd	_271
	dd	210
	dd	3
	align	4
_676:
	dd	_271
	dd	212
	dd	3
	align	4
_688:
	dd	_271
	dd	213
	dd	4
	align	4
_695:
	dd	_271
	dd	221
	dd	3
	align	4
_699:
	dd	_271
	dd	222
	dd	4
	align	4
_34:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	72,97,118,101,32,67,109,111,100,101,108
	align	4
_700:
	dd	_271
	dd	224
	dd	3
	align	4
_704:
	dd	_271
	dd	227
	dd	3
	align	4
_712:
	dd	_271
	dd	228
	dd	3
	align	4
_717:
	dd	_271
	dd	230
	dd	3
	align	4
_723:
	dd	_271
	dd	231
	dd	3
	align	4
_35:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	77,101,115,104,32,67,111,117,110,116,58,32
	align	4
_724:
	dd	_271
	dd	232
	dd	3
	align	4
_728:
	dd	_271
	dd	234
	dd	4
	align	4
_739:
	dd	_271
	dd	238
	dd	5
	align	4
_743:
	dd	_271
	dd	239
	dd	6
	align	4
_42:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	71,111,116,32,77,101,115,104,58,32
	align	4
_744:
	dd	_271
	dd	241
	dd	6
	align	4
_750:
	dd	_271
	dd	242
	dd	6
	align	4
_43:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	78,79,70,58,32,83,117,98,109,101,115,104,101,115,32
	align	4
_751:
	dd	_271
	dd	244
	dd	6
	align	4
_755:
	dd	_271
	dd	246
	dd	7
	align	4
_762:
	dd	_271
	dd	248
	dd	7
	align	4
_768:
	dd	_271
	dd	249
	dd	7
	align	4
_774:
	dd	_271
	dd	251
	dd	7
	align	4
_48:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	32,70,97,99,101,115
	align	4
_47:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	86,101,114,116,115,58,32
	align	4
_775:
	dd	_271
	dd	255
	dd	7
_776:
	db	"s",0
	align	4
_778:
	dd	_271
	dd	256
	dd	7
_779:
	db	"f",0
	align	4
_781:
	dd	_271
	dd	257
	dd	7
	align	4
_786:
	dd	_271
	dd	258
	dd	7
	align	4
_791:
	dd	_271
	dd	259
	dd	7
	align	4
_794:
	dd	_271
	dd	280
	dd	3
_872:
	db	"ctex",0
	align	4
_871:
	dd	1
	dd	_122
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_800
	dd	_620
	dd	-8
	dd	2
	dd	_494
	dd	_163
	dd	-12
	dd	2
	dd	_872
	dd	_498
	dd	-16
	dd	0
	align	4
_810:
	dd	_271
	dd	287
	dd	3
	align	4
_822:
	dd	_271
	dd	288
	dd	4
	align	4
_826:
	dd	_271
	dd	288
	dd	33
	align	4
_829:
	dd	_271
	dd	290
	dd	3
	align	4
_841:
	dd	_271
	dd	291
	dd	4
	align	4
_853:
	dd	_271
	dd	292
	dd	5
	align	4
_856:
	dd	_271
	dd	294
	dd	4
	align	4
_859:
	dd	_271
	dd	296
	dd	3
	align	4
_862:
	dd	_271
	dd	297
	dd	3
	align	4
_865:
	dd	_271
	dd	298
	dd	3
	align	4
_868:
	dd	_271
	dd	299
	dd	3
_995:
	db	"d",0
_996:
	db	"f",0
_997:
	db	"normals",0
_998:
	db	"texcoords",0
_999:
	db	"brush",0
	align	4
_994:
	dd	1
	dd	_123
	dd	2
	dd	_296
	dd	_137
	dd	-4
	dd	2
	dd	_995
	dd	_996
	dd	-8
	dd	2
	dd	_801
	dd	_128
	dd	-12
	dd	2
	dd	_128
	dd	_128
	dd	-16
	dd	2
	dd	_800
	dd	_620
	dd	-20
	dd	2
	dd	_802
	dd	_128
	dd	-24
	dd	2
	dd	_803
	dd	_128
	dd	-28
	dd	2
	dd	_804
	dd	_128
	dd	-32
	dd	2
	dd	_808
	dd	_809
	dd	-36
	dd	2
	dd	_997
	dd	_809
	dd	-40
	dd	2
	dd	_998
	dd	_809
	dd	-44
	dd	2
	dd	_621
	dd	_622
	dd	-48
	dd	2
	dd	_999
	dd	_163
	dd	-52
	dd	0
	align	4
_873:
	dd	_271
	dd	305
	dd	4
	align	4
_877:
	dd	_271
	dd	305
	dd	26
	align	4
_878:
	dd	_271
	dd	306
	dd	4
	align	4
_883:
	dd	_271
	dd	307
	dd	4
	align	4
_888:
	dd	_271
	dd	308
	dd	5
	align	4
_894:
	dd	_271
	dd	309
	dd	5
	align	4
_898:
	dd	_271
	dd	310
	dd	6
	align	4
_910:
	dd	_271
	dd	311
	dd	7
	align	4
_914:
	dd	_271
	dd	312
	dd	8
	align	4
_920:
	dd	_271
	dd	314
	dd	8
	align	4
_924:
	dd	_271
	dd	315
	dd	9
	align	4
_931:
	dd	_271
	dd	316
	dd	9
	align	4
_937:
	dd	_271
	dd	320
	dd	9
_938:
	db	"f",0
	align	4
_940:
	dd	_271
	dd	321
	dd	9
_941:
	db	"f",0
	align	4
_943:
	dd	_271
	dd	322
	dd	9
_944:
	db	"f",0
	align	4
_946:
	dd	_271
	dd	324
	dd	9
	align	4
_951:
	dd	_271
	dd	325
	dd	9
	align	4
_956:
	dd	_271
	dd	326
	dd	9
	align	4
_966:
	dd	_271
	dd	327
	dd	9
	align	4
_973:
	dd	_271
	dd	332
	dd	9
	align	4
_979:
	dd	_271
	dd	333
	dd	9
	align	4
_981:
	dd	_271
	dd	334
	dd	10
	align	4
_986:
	dd	_271
	dd	346
	dd	9
	align	4
_989:
	dd	_271
	dd	352
	dd	4
	align	4
_1000:
	dd	1
	dd	_102
	dd	2
	dd	_296
	dd	_620
	dd	-4
	dd	0
	align	4
_1010:
	dd	1
	dd	_138
	dd	2
	dd	_296
	dd	_620
	dd	-4
	dd	2
	dd	_803
	dd	_128
	dd	-8
	dd	2
	dd	_999
	dd	_145
	dd	-12
	dd	0
_1002:
	db	"$BMXPATH/mod/c3d.mod/calb3d.mod/includes/cb3dmesh.bmx",0
	align	4
_1001:
	dd	_1002
	dd	15
	dd	3
_1114:
	db	"ind",0
_1115:
	db	"v",0
_1116:
	db	"t",0
	align	4
_1113:
	dd	1
	dd	_121
	dd	2
	dd	_296
	dd	_620
	dd	-4
	dd	2
	dd	_1114
	dd	_128
	dd	-8
	dd	2
	dd	_1115
	dd	_809
	dd	-12
	dd	2
	dd	_996
	dd	_807
	dd	-16
	dd	2
	dd	_128
	dd	_128
	dd	-20
	dd	2
	dd	_1116
	dd	_128
	dd	-24
	dd	0
	align	4
_1011:
	dd	_1002
	dd	21
	dd	3
	align	4
_1015:
	dd	_1002
	dd	22
	dd	4
	align	4
_67:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	67,109,101,115,104,32,119,97,115,32,110,117,108,108,33
	align	4
_1016:
	dd	_1002
	dd	23
	dd	4
	align	4
_1017:
	dd	_1002
	dd	26
	dd	3
	align	4
_1021:
	dd	_1002
	dd	27
	dd	4
	align	4
_1029:
	dd	_1002
	dd	31
	dd	3
	align	4
_1033:
	dd	_1002
	dd	32
	dd	4
_1041:
	db	":TSurface",0
	align	4
_1042:
	dd	_1002
	dd	33
	dd	4
	align	4
_1053:
	dd	_1002
	dd	34
	dd	4
	align	4
_68:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	66,117,105,108,100,58,32
	align	4
_1055:
	dd	_1002
	dd	36
	dd	4
	align	4
_1063:
	dd	_1002
	dd	37
	dd	4
	align	4
_69:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	82,101,66,117,105,108,100,58,32
	align	4
_1064:
	dd	_1002
	dd	42
	dd	3
	align	4
_1068:
	dd	_1002
	dd	43
	dd	4
	align	4
_1082:
	dd	_1002
	dd	45
	dd	3
	align	4
_1086:
	dd	_1002
	dd	46
	dd	4
	align	4
_1100:
	dd	_1002
	dd	67
	dd	3
	align	4
_1108:
	dd	_1002
	dd	69
	dd	3
	align	4
_1112:
	dd	_1002
	dd	70
	dd	3
_1154:
	db	"si",0
_1155:
	db	"n",0
	align	4
_1153:
	dd	1
	dd	_123
	dd	2
	dd	_296
	dd	_620
	dd	-4
	dd	2
	dd	_1154
	dd	_128
	dd	-8
	dd	2
	dd	_1115
	dd	_809
	dd	-12
	dd	2
	dd	_1155
	dd	_809
	dd	-16
	dd	2
	dd	_1116
	dd	_809
	dd	-20
	dd	0
	align	4
_1117:
	dd	_1002
	dd	77
	dd	3
	align	4
_1126:
	dd	_1002
	dd	78
	dd	3
	align	4
_1135:
	dd	_1002
	dd	79
	dd	3
	align	4
_1144:
	dd	_1002
	dd	80
	dd	3
	align	4
_1195:
	dd	1
	dd	_102
	dd	2
	dd	_296
	dd	_163
	dd	-4
	dd	0
_1156:
	db	"i",0
_1158:
	db	"$BMXPATH/mod/c3d.mod/calb3d.mod/includes/cb3dmaterial.bmx",0
	align	4
_1157:
	dd	_1158
	dd	14
	dd	3
	align	4
_1162:
	dd	_1158
	dd	15
	dd	3
	align	4
_1169:
	dd	_1158
	dd	16
	dd	3
	align	4
_1176:
	dd	_1158
	dd	17
	dd	3
	align	4
_1183:
	dd	_1158
	dd	18
	dd	3
	align	4
_1187:
	dd	_1158
	dd	19
	dd	3
	align	4
_1191:
	dd	_1158
	dd	20
	dd	3
	align	4
_76:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	98,108,97,110,107
_1217:
	db	"map",0
	align	4
_1216:
	dd	1
	dd	_153
	dd	2
	dd	_296
	dd	_163
	dd	-4
	dd	2
	dd	_1217
	dd	_498
	dd	-8
	dd	2
	dd	_160
	dd	_128
	dd	-12
	dd	0
	align	4
_1196:
	dd	_1158
	dd	26
	dd	3
	align	4
_1203:
	dd	_1158
	dd	27
	dd	3
	align	4
_1207:
	dd	_1158
	dd	28
	dd	3
	align	4
_1211:
	dd	_1158
	dd	29
	dd	3
	align	4
_1218:
	dd	1
	dd	_102
	dd	2
	dd	_296
	dd	_498
	dd	-4
	dd	0
	align	4
_1219:
	dd	1
	dd	_102
	dd	2
	dd	_296
	dd	_371
	dd	-4
	dd	0
	align	4
_1220:
	dd	1
	dd	_102
	dd	2
	dd	_296
	dd	_399
	dd	-4
	dd	0
